
<div id="wrapper-content">
    <table class="titrepage" width="100%">
        <tr>
            <td >Ajouter text</td>
            <td align="right"> </td>
        </tr>
    </table>
<?php echo form_open_multipart('seatting_admin/add_text') ?>
    <table width="100%" class="list">
        <tr>
            <td width="30%" >Title:</td>
            <td><input type="text" name="title" size="30" value="<?php echo set_value('title')?>"/></td>
            <td><?php echo form_error('title'); ?></td>
        </tr>
        <tr>
            <td><label >Image:</label></td>
            <td><input type="file" name="userfile" id="userfile" size="25"/></td>
        </tr>
        <tr>
            <td width="30%" >Content:</td>
            <td colspan="2">
                    <?php
                    $data = array('name' => 'content',
                        'id' => 'content',
                        'width' => '610',
                        'height' => '250',
                        'value' => '',
                        'type' =>'text'
                    );
                    echo form_fckeditor($data);
                    ?>
            </td>
        </tr>
        <tr>
            <td></td>
            <td colspan="2"><?php echo form_error('content'); ?></td>
        </tr>
        <tr>
            <td><input type="submit" value="Ajouter" name ="submit"/> </td>
        </tr>
    </table>

</div>